﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TaxEntity.Log
{
    /// <summary>
    /// 用户登录日志
    /// </summary>
    public class LoginLogEntity
    {
        #region Model
        private long iD;
        private long userId;
        private string userName;
        private string sName;
        private string optContent;
        private DateTime optTime = DateTime.Now;
        private string ipAddress;

        /// <summary>
        /// 自增编号
        /// </summary>
        public long ID
        {
            set { iD = value; }
            get { return iD; }
        }
        /// <summary>
        /// 用户编号
        /// </summary>
        public long UserId
        {
            set { userId = value; }
            get { return userId; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName
        {
            set { userName = value; }
            get { return userName; }
        }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string SName
        {
            set { sName = value; }
            get { return sName; }
        }
        /// <summary>
        /// 内容
        /// </summary>
        public string OptContent
        {
            set { optContent = value; }
            get { return optContent; }
        }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime OptTime
        {
            set { optTime = value; }
            get { return optTime; }
        }
        /// <summary>
        /// IP地址
        /// </summary>
        public string IpAddress
        {
            set { ipAddress = value; }
            get { return ipAddress; }
        }
        #endregion Model
    }
}
